package org.erp.product.infrastructure.exception;

import org.erp.common.exception.ServiceException;

/**
 * 产品异常处理
 *
 * @author libin
 * @version 1.0
 * @description: 产品异常处理
 * @date 2025/11/10 16:31
 **/
public class ProductException extends ServiceException {
    public ProductException() {
        super();
    }

    public ProductException(String message) {
        super(message);
    }

    public ProductException(String message, Integer code) {
        super(message, code);
    }

    @Override
    public ServiceException setDetailMessage(String detailMessage) {
        return super.setDetailMessage(detailMessage);
    }

    @Override
    public String getMessage() {
        return super.getMessage();
    }

    @Override
    public ServiceException setMessage(String message) {
        return super.setMessage(message);
    }

    @Override
    public Integer getCode() {
        return super.getCode();
    }

    @Override
    public String getDetailMessage() {
        return super.getDetailMessage();
    }
}
